Active termination circuit and method for controlling the impedance of external integrated circuit terminals

ABSTRACT

An active termination circuit is used to set the input impedance of a plurality of input terminals. Each of the input terminals is coupled to a supply voltage through at least one PMOS transistor and to ground through at least one NMOS transistor. The impedances of the transistors are controlled by a control circuit that generates a first control signal to set the impedance of another PMOS transistor to be equal to a first predetermined resistance, and generates a second control signal to set the impedance of another NMOS transistor to be equal to a second predetermined resistance. The first control signal is used to control all of the PMOS transistors and the second control signal is used to control all of the NMOS transistors. As a result, the PMOS and NMOS transistors coupled to each input terminal have impedances corresponding to the first and second resistances, respectively.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a divisional of U.S. application Ser. No. 11/329,596, filed on Jan. 10, 2006, which is a continuation of U.S. application Ser. No. 10/999,771 filed Nov. 29, 2004, U.S. Pat. No. 7,106,638, which is a divisional of U.S. application Ser. No. 10/762,605, filed Jan. 21, 2004, U.S. Pat. No. 6,944,071, which is a continuation of U.S. application Ser. No. 10/375,639, filed Feb. 26, 2003, U.S. Pat. No. 6,711,073, which is a divisional of U.S. application Ser. No. 09/997,156 filed Nov. 28, 2001, U.S. Pat. No. 6,657,906, the disclosures of which are hereby incorporated herein by reference.

TECHNICAL FIELD

The invention relates to integrated circuits, and, more particularly, to a method and circuit for efficiently controlling the input impedance of externally accessible integrated circuit terminals.

BACKGROUND OF THE INVENTION

Integrated circuits receive signals through externally accessible input terminals of various designs. In some integrated circuits, the magnitude of the input impedance of input terminals is not critical. Other integrated circuits, particularly memory devices operating at a high speed, the input impedance of at least some of the input terminal must be controlled for optimum performance.

FIG. 1 illustrates a conventional memory device that can advantageously use one or more embodiments of the active termination circuit in according to the present invention. The memory device shown in FIG. 1 is a synchronous dynamic random access memory (“SDRAM”) 10, although the active termination circuit may also be used in other memory devices and other integrated circuits. The SDRAM 10 includes an address register 12 that receives either a row address or a column address on an address. bus 14 through an address input buffer 16. The address bus 14 is generally coupled to a memory controller (not shown). Typically, a row address is initially received by the address register 12 and applied to a row address multiplexer 18. The row address multiplexer 18 couples the row address to a number of components associated with either of two memory banks 20, 22 depending upon the state of a bank address bit forming part of the row address. Associated with each of the memory banks 20, 22 is a respective row address latch 26, which stores the row address, and a row decoder 28, which applies various signals to its respective memory bank 20 or 22 as a function of the stored row address. The row address multiplexer 18 also couples row addresses to the row address latches 26 to refresh memory cells in the memory banks 20, 22. The row addresses are generated for refresh purposes by a refresh counter 30 that is controlled by a refresh controller 32.

After the row address has been applied to the address register 12 and stored in one of the row address latches 26, a column address is applied to the address register 12. The address register 12 couples the column address to a column address latch 40. Depending on the operating mode of the SDRAM 10, the column address is either coupled through a burst counter 42 to a column address buffer 44, or to the burst counter 42 which applies a sequence of column addresses to the column address buffer 44 starting at the column address that is output by the address register 12. In either case, the column address buffer 44 supplies a column address to a column decoder 48 which applies various column signals to respective sense amplifiers and associated column circuitry 50, 52 for the respective memory banks 20, 22.

Data to be read from one of the memory banks 20, 22 are coupled to the column circuitry 50, 52 for one of the memory banks 20, 22, respectively. The data are then coupled to a data output register 56 which applies the data to a data bus 58 through a data input buffer 59 and a data output buffer 60. Data to be written to one of the memory banks 20, 22 are coupled from the data bus 58 through a data input register 62 to the column circuitry 50, 52 and then are transferred through word line driver circuits in the column circuitry 50, 52 to one of the memory banks 20, 22, respectively. A mask register 64 may be used to selectively alter the flow of data into and out of the column circuitry 50, 52, such as by selectively masking data to be read from the memory banks 20,22.

The above-described operation of the SDRAM 10 is controlled by a command decoder 68 responsive to high level command signals received on a control bus 70 and coupled to the command decoder through a command input buffer 72. These high level command signals, which are typically generated by a memory controller (not shown in FIG. 1), are a clock enable signal CKE*, a clock signal CLK, a chip select signal CS*, a write enable signal WE*, a column address strobe signal CAS*, and a row address strobe signal RAS*, with the “*” designating the signal as active low or complement. The command decoder 68 generates a sequence of command signals responsive to the high level command signals to carry out the function (e.g., a read or a write) designated by each of the high level command signals. These command signals, and the manner in which they accomplish their respective functions, are conventional. Therefore, in the interest of brevity, a further explanation of these control signals will be omitted.

Each of the input buffers 16, 59, 72 includes a respective termination circuit 90 that is coupled to a respective externally accessible input terminal and that determines the input impedance of the input buffer. Conventional termination circuits 90 include, for example, resistors as well as NMOS and PMOS transistors that are biased to an ON condition. In the past, it has been difficult to efficiently control the input impedance of the input terminals. The resistance provided by transistors and other components can vary with process variations and operating temperature, thus making it difficult to precisely control input impedance. Process variations can be compensated for to some extent by altering the circuit topography during manufacturer using fusible links and the like. However, compensating for processing variations in this manner increases the number of components included in the termination circuit and may increase the number of manufacturing steps. Furthermore, compensating for process variations in does not compensate for temperature variations. Therefore, the input impedance can vary with changes in temperature. Another problem with conventional termination circuits using PMOS or NMOS transistors is that the effective impedance of the transistor varies with the source-to-drain voltage, thus making the impedance of the transistor sensitive to variations in the supply voltage.

A relatively complex circuit (not shown) can be used to implement an active termination circuit 90 that precisely controls the input impedance. However, providing a relatively complex termination circuit 90 for each of the many input terminals of a conventional integrated circuit, such as the SDRAM 10, greatly increases the amount of circuitry in the integrated circuit.

There is therefore a need for a circuit and method that uses relatively little circuitry and yet is able to precisely control the input impedance of an input terminal despite process, temperature and supply voltage variations.

SUMMARY OF THE INVENTION

An active termination circuit and method controls the input impedance of a plurality of externally accessible input terminals in an integrated circuit, such as a memory device. Each of the externally accessible input terminals are coupled to a respective first variable impedance device and a respective second variable impedance device. The impedance of one of the first variable impedance devices is compared to a first predetermined impedance by suitable means, such as by deriving a feedback signal from a voltage divider formed by the first variable impedance device and the first predetermined impedance. Similarly, the impedance of one of the second variable impedance devices is compared to a second predetermined impedance by suitable means, such as by deriving a feedback signal from a voltage divider formed by the second variable impedance device and the second predetermined impedance. Based on these comparisons, the impedances of all of the first variable impedance devices and all of the second variable impedance devices are adjusted. More specifically, the impedances of all of the first variable impedance device are adjusted so that they have a predetermined relationship to the first predetermined impedance, and the impedances of all of the second variable impedance device are adjusted so that they have a predetermined relationship to the second predetermined impedance. The variable impedances may each be a continuously varying impedance device, a plurality of fixed impedance devices selectively coupled in parallel with each other, or some other variable impedance device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a conventional SDRAM integrated circuit having a termination circuit coupled to each input terminal for controlling the input impedance of the input terminal.

FIG. 2 is a schematic of a termination circuit according to one embodiment of the invention that may be used in the SDRAM of FIG. 1 or in another integrated circuit.

FIG. 3 is a waveform diagram showing the voltages at the various nodes in the termination circuit of FIG. 2 responsive to variations in the level of a supply voltage.

FIG. 4 is a schematic of a termination circuit according to another embodiment of the invention that may be used in the SDRAM of FIG. 1 or in another integrated circuit.

FIG. 5 is a block diagram of a computer system using the memory device of FIG. 1 containing the active termination circuit of either FIG. 2 or FIG. 3.

DETAILED DESCRIPTION OF THE INVENTION

One embodiment of an active termination circuit 100 is shown in FIG. 2. The active termination circuit 100 is an analog circuit that includes a PMOS transistor 102 a-n and an NMOS transistor 104 a-n coupled to a respective one of a several input terminals 10 a-n of an integrated circuit, such as the SDRAM 10 of FIG. 1. The gates of all of the PMOS transistors 102 a-n are coupled to each other and to a first output of a control circuit 110, which provides a first output voltage V.sub.O1. Similarly, the gates of all of the NMOS transistors 104 a-n are coupled to each other and to a second output of the control circuit 110, which provides a second output voltage V.sub.O2. By using only two transistors 102 a-n, 104 a-n for each input terminal 108 a-n and a single control circuit 110 to provide signals to all of the transistors 102 a-n, 104 a-n, relatively little circuitry is required to control the input impedance of all of the input terminals 108 a-n. The manner in which the output voltages V.sub.O1 and V.sub.O2 are adjusted to maintain a constant input impedance at the input terminals 108 a-n despite process variations and variations in the temperature and supply voltage V.sub.CC will be explained with the explanation of the control circuit 110.

The control circuit 110 includes a differential amplifier 112 formed by a pair of NMOS input transistors 120, 122, a pair of PMOS load transistors 126, 128 coupled as a current mirror, and an NMOS transistor 130 that draws a constant current collectively through the input transistors 120, 122. An output of the differential amplifier 112 is coupled to the gate of a PMOS transistor 134 and to the input of a buffer 136. An output of the buffer 136 is coupled to the gate of each PMOS transistor 102 a-n, as previously explained.

The PMOS transistor 134 is coupled in series with a resistor 138 between a supply voltage V.sub.CC and ground. The PMOS transistor 134 and resistor 138 form a voltage divider that generates a feedback voltage V.sub.F, which is applied to the gate of the input transistor 122. The gate of the other input transistor 120 is coupled to a reference voltage V.sub.REF, which may be one-half the supply voltage V.sub.CC but may also have other values.

The control circuit 110 also includes a second differential amplifier 142 that uses the same components as the differential amplifier 112 operating in the same manner and provided with the same reference numerals. A first output of the differential amplifier 142 is coupled to the gate of an NMOS transistor 144 and to the input of a buffer 146. The output of the buffer 146 is coupled to the gate of each NMOS transistor 104 a-n, as also previously explained.

The NMOS transistor 144 is coupled in series with a resistor 148 between a supply voltage V.sub.CC and ground to form a voltage divider. A feedback voltage V.sub.F generated by the voltage divider is coupled to the gate of one input transistor 122 in the differential amplifier 142. The gate of the other input transistor 120 of the differential amplifier 142 is coupled to a reference voltage V.sub.REF. Note, however, that the order of the PMOS transistor 134 and the resistor 138 forming the first voltage divider is the reverse of the order of the NMOS transistor 144 and the resistor 148 forming the second voltage divider. As a result, the first output voltage V.sub.O1 decreases with increases in the resistance of the PMOS transistor 134 while the second output voltage V.sub.O2 increases with increases in the resistance of the NMOS transistor 144.

In operation, the differential amplifier 112 adjusts the output voltage V.sub.O1 so that the PMOS transistor 134 has a resistance that causes the feedback voltage V.sub.F to be equal to the reference voltage V.sub.REF. If the reference voltage V.sub.REF is equal to one-half the supply voltage V.sub.CC, the impedance of the PMOS transistor 134 will be equal to the resistance of the resistor 138. An increase in the impedance of the PMOS transistor 134 causes a decrease in the feedback voltage V.sub.F, which will cause the differential amplifier 112 to decrease the output voltage V.sub.O1. The reduced output voltage V.sub.O1 coupled to the gate of the PMOS transistor 134 decreases the impedance of the PMOS transistor 134 so that the magnitude of the feedback voltage V.sub.F again equals the magnitude of the reference voltage V.sub.REF.

The differential amplifier 142 operates in essentially the same manner to maintain the impedance of the NMOS transistor 144 equal to the resistance of the resistor 148. More specifically, any decrease in the impedance of the NMOS transistor 144 causes a decrease in the magnitude of the feedback voltage V.sub.F. The differential amplifier 142 responds to the decreased feedback voltage V.sub.F by decreasing the output voltage V.sub.O2, which causes the impedance of the NMOS transistor 144 to increase until the magnitude of the feedback voltage V.sub.F is again equal to the magnitude of the reference voltage V.sub.REF.

Although the control circuit 110 has been explained with respect to the magnitude of the reference voltage V.sub.REF being one-half the magnitude of the supply voltage V.sub.CC, it will be understood that the magnitude of the reference voltage and the supply voltage may have other relationships. For example, if the magnitude of the reference voltage V.sub.REF is equal to two-thirds of the supply voltage V.sub.CC, the impedance of the PMOS transistor will be one-half the resistance of the resistor 138, and the impedance of the NMOS transistor 144 will be one-half the resistance of the resistor 148. As long as the resistance of the resistors 138, 148 are equal to each other, the impedance of the PMOS transistor 134 will still be equal to the impedance of the NMOS transistor 144.

Although the electrical characteristics of the PMOS transistors-102 a-n and the NMOS transistors 104 a-n may vary with process variations, temperature and supply voltage the same electrical characteristics of the PMOS transistor 134 and the NMOS transistor 144 can be expected to vary with process variations in substantially the same manner. Therefore, the active termination circuit 100 will be substantially insensitive to process, temperature and supply voltage variations.

The manner in which the active termination circuit 100 is insensitive to variations in the supply voltage V.sub.CC will now be explained with reference to FIGS. 3A-G. When the supply voltage V.sub.CC is 1.6 volts as shown in FIG. 3A and the reference voltage V.sub.REF is one-half V.sub.CC, or 0.8 volts, as shown in FIG. 3B, the feedback voltage V.sub.F will also be one-half V.sub.CC, or 0.8 volts, as shown in FIG. 3C. In such case, the output voltage V.sub.O1 will be adjusted by the differential amplifier 112 to 1.24 volts, as shown in FIG. 3D, which is the voltage needed to make the impedance of the PMOS transistor 134 equal to the resistance of the resistor 138. In a similar manner, the differential amplifier 142 will generate a voltage V.sub.O2 of 0.38 volts, as shown in FIG. 3E, which is the voltage needed to make the impedance of the NMOS transistor 144 equal to the resistance of the resistor 148. The impedance of the PMOS transistors 102 will then be approximately equal to the impedance of the NMOS transistors 104, so that the voltage V.sub.OUT on the input terminals 108 will be equal to approximately one-half V.sub.CC, or 0.8 volts. As shown in FIG. 3F, in one embodiment this voltage is 0.808 volts. Finally, the current 10 through each series combination of a PMOS transistor 102 and a respective NMOS transistor 104 will be 2.66 ma, as shown in FIG. 3G.

The impedance of each PMOS transistor 102 and each NMOS transistor 104 is equal to the voltage across each of the transistors 102, 104 divided by the current through the transistors 102, 104. For the PMOS transistors 102, the voltage across the transistors 102 is 0.792 volts, so that the impedance of the PMOS transistors 102 can be calculated by the ratio of 0.792 volts to 2.66 ma as 298 ohms. In a similar manner, the impedance of the NMOS transistors 104 can be calculated as the ratio of the 0.808 volts across the transistors 104 to the 2.66 ma of current through the transistors 104, or 304 ohms. The input impedance of the input terminals 108 will thus be the impedance of the two transistors 102, 104 in parallel, or substantially 150 ohms.

If the supply voltage V.sub.CC increases to 1.8 volts as shown in FIG. 3A, the reference voltage and the feedback voltage will increase accordingly so that the differential amplifier 112 will then generate an output voltage V.sub.O1 equal to 1.29 volts and the differential amplifier 142 will generate an output voltage V.sub.O2 equal to 0.54 volts, as shown in FIGS. 3D and E, respectively. Although the voltage applied to the gate of the PMOS transistor 134 increases from 1.24 volts to 1.29 volts, i.e., by 0.05 volts, the supply voltage VCC has increased to a greater extent, i.e. from 1.6 volts to 1.8 volts, or an increase in 0.2 volts. As a result, the gate-to-source of voltage of the PMOS transistor 134 increases by 0.15 volts, i.e. 0.2 volts less 0.05 volts. This increased gate to-source of voltage increases the current through the transistor 134 to 3 ma, as shown in FIG. 3G. However, since the voltage on the input terminal 108 has increased to 0.906 volts, as shown in FIG. 3F, the voltage across the PMOS transistor 134 has increased to 0.894 volts. The impedance of the PMOS transistors 102 can then be calculated by the ratio of 0.894 volts to 3 ma as 2.98 ohms, which is the same impedance previously calculated for a supply voltage V.sub.CC of 1.6 volts. Similarly, the impedance of each NMOS transistor 104 can be calculated by the ratio of the 0.906 volts across the transistor 104 to the 3 ma of current through the transistor 104 as 302 ohms, which is substantially the same impedance as the 304 ohms calculated for a supply voltage V.sub.CC of 1.6 volts.

If the supply voltage V.sub.CC increases to 2 volts as shown in FIG. 3A, the impedance of each PMOS transistor 102 can be calculated in the same manner as described above to be 2.99 ohms, i.e., 1 volt across the transistor 102 divided by 3.34 ma. The impedance of each NMOS transistor 104 can be calculated in the same manner as described above to also be 2.99 ohms, i.e., 1 volt across the transistor 104 divided by 3.34 ma. It can therefore be seen that the input impedance at each input terminal 108 is substantially insensitive to variations in the supply voltage V.sub.CC.

Another embodiment of an active termination circuit 200 is shown in FIG. 4. Unlike the analog active termination circuit 100 of FIG. 2, the active termination circuit of FIG. 4 is a digital circuit. Each input terminal 8 a-n is coupled to the drains of a set of PMOS transistors 204 a-n that are coupled to each other in parallel, and to the drains of a set of NMOS transistors 208 a-n that are coupled to each other in parallel. The sources of the PMOS transistors 204 a-n are coupled to a supply voltage V.sub.CC while the sources of the NMOS transistors 208 a-n are coupled to ground. The gates of the PMOS transistors 204 a-n are coupled to a first control circuit 210 while the gates of the NMOS transistors 208 a-n are coupled to a second control circuit 216.

In operation, the voltage at each input terminal 8 a-n is determined by the impedance of the parallel combination of PMOS transistors 204 a-n relative to the impedance of the parallel combination of NMOS transistors 208 a-n. A set of PMOS transistors 204 a-n and a set of NMOS transistors 208 a-n are provided for each input terminal 8 a-n. The input impedance at the input terminal 8 a-n is determined by the parallel combination of the PMOS transistors 204 a-n and the parallel combination of the NMOS transistors 208 a-n in parallel with each other. As explained in detail below, the first control circuit 210 selectively turns ON a plurality of the PMOS transistors 204 a-n and the second control circuit 216 selectively turns ON a plurality of the NMOS transistors 208 a-n so that both the impedance of the parallel combination of PMOS transistors 204 a-n and the impedance of the parallel combination of NMOS transistors 208 a-n are substantially equal to a predetermined impedance. As a result, the input impedance at the input terminal 8 a-n are set to predetermine values.

The first control circuit 210 and the second control circuit 216 are substantially identical in structure and function. The only significant difference between the first control circuit 210 and the second control circuit 216 is that the first control circuit 210 includes a parallel combination of PMOS transistors 220 coupled between the supply voltage V.sub.CC and a resistor 222 that is coupled to ground, while the second control circuit 216 includes a parallel combination of NMOS transistors 226 coupled between ground and a resistor 228 that is coupled to the supply voltage V.sub.CC.

Each of the control circuits 210, 216 includes a first comparator 230 and a second comparator 232. A feedback voltage V.sub.F is applied to the “+” input of the first comparator 230 into the “−” input of the second comparator 232. The first comparator 230 also receives a first reference voltage V.sub.REF+ while the second comparator 232 also receives a second reference voltage V.sub.REF−. The magnitude of the first reference voltage V.sub.REF+ is slightly larger than the magnitude of the second reference voltage V.sub.REF−. As explained below, the difference between the magnitude of the first reference voltage and the magnitude of the second reference voltage V.sub.REF− establishes a deadband. In the active termination circuit 200 of FIG. 4, the deadband is preferably centered at a voltage that is approximately one-half the supply voltage V.sub.CC. When the feedback voltage V.sub.F is within the deadband, the number of transistors 220, 226 that are switched ON does not change. When the feedback voltage V.sub.F is outside the deadband, the number of transistors 220, 226 that are switched ON is either increased or decreased depending upon whether the feedback voltage V.sub.F is above or below the deadband.

Outputs from the comparators 230, 232 are applied to an input of a respective NAND-gate 236, 238. An input of each NAND-gate 236, 238 also receives an output from an oscillator 240. Respective outputs from the NAND-gates 236, 238 are applied to an up/down counter 246. However, the output from the NAND-gate 236 is applied to the “DN” input of the counter 246 in the first control circuit 210 and to the “UP” input of the counter 246 in the second control circuit 216. Also, the output from the NAND-gate 238 is applied to the “UP” input of the counter 246 in the first control circuit 210 and to the “DN” input of the counter 246 in the second control circuit 216.

The operation of the control circuits 210,216 will now be explained with initial reference to the first control circuit 210. When the magnitude of the feedback voltage V.sub.F is greater than the magnitude of the reference voltage V.sub.REF+, the NAND-gate 236 is enabled by a high output from the comparator 230 resulting from the positive comparison between the feedback voltage V.sub.F and the reference voltage V.sub.REF+. As a result, pulses from the oscillator 240 are coupled through the NAND-gate 236 to the “DN” input of the counter 246. The counter 246 then decrements its count. The ON impedance of the PMOS transistors 220 preferably vary from each other in a binary manner so that the ON impedance of the leftmost PMOS transistor 220 is one-half the ON impedance of the PMOS transistor 220 to its right, and the ON impedance of the rightmost PMOS transistor 220 is twice the ON impedance of the PMOS transistor 22Q to its left. The PMOS transistors 204 a-n coupled to the input terminals 108 a-n vary in the same manner. As a result, the impedance of the parallel combination of PMOS transistors 220 and 204 a-n will correspond to the count of the counter 246. Therefore, when the counter 246 is decremented responsive to the feedback voltage V.sub.F being greater than the reference voltage V.sub.REF+, as previously explained, the impedance of the parallel combination of PMOS transistors 220 and 204 a-n is increased. When the impedance of the PMOS transistors 220 is increased, the feedback voltage V.sub.F will be reduced to some voltage that is within the deadband.

The control circuit 210 responds to the feedback voltage V.sub.F being below the deadband in a similar manner. Specifically, when the magnitude of the feedback voltage V.sub.F is less than the magnitude of the reference voltage V.sub.REF−, the NAND-gate 238 is enabled by the positive comparison between the reference voltage V.sub.REF− and the feedback voltage V.sub.F. As result, pulses from the oscillator 240 are gated to the “UP” input of the counter 246. The count of the counter 246 is then incremented, thereby turning ON additional PMOS transistors 220 and 204 a-n. The additional PMOS transistors 220 that are turned ON increase the feedback voltage until it is at a voltage that is within the deadband.

As mentioned above, the deadband is preferably centered at one-half the magnitude of the supply voltage V.sub.CC. When the feedback voltage V.sub.F is centered in the deadband, i.e. is at one-half V.sub.CC, the impedance of the parallel combination of PMOS transistors 220 and 204 a-n will be equal to the resistance of the resistor 222. The PMOS transistors 204 a-n coupled to the input terminals 8 a-n are identical to and fabricated in the same process as the PMOS transistors 220. The impedance of each parallel combination of PMOS transistors 204 a-n will therefore also be equal to the resistance of the resistor 222.

The control circuit 216 operates in substantially the same manner as the control circuit 210. As in the control circuit 210, when the magnitude of the feedback voltage V.sub.F is greater than the magnitude of the reference voltage V.sub.REF+, the NAND-gate 236 will be enabled, and when the magnitude of the feedback voltage V.sub.F is less than the magnitude of the reference voltage V.sub.REF−, the NAND-gate 238 will be enabled. When the magnitude of the feedback voltage V.sub.F is greater than the magnitude of the reference voltage V.sub.REF+, the counter 246 will be incremented to increase the number of NMOS transistors 226 that are turned ON. The impedance of the parallel combination of NMOS transistors 226 and 208 a-n will therefore be decreased, which will reduce the magnitude of the feedback voltage V.sub.F so that it is within the deadband. When the magnitude of the feedback voltage V.sub.F is less than the magnitude of the reference voltage V.sub.REF−, the counter 246 will be decremented to decrease the number of NMOS transistors 226 that are turned ON. The impedance of the parallel combination of NMOS transistors 226 and 208 a-n will therefore be increased, which will increase the magnitude of the feedback voltage V.sub.F so that it is within the deadband. In this manner, the impedance of the parallel combination of NMOS transistors 226 and 208 a-n, will be set to equal the resistance of the resistor 228. Assuming the resistances of the resistors to 222, 228 are equal to each other, the impedance of each parallel combination of PMOS transistors 204 a-n coupled to a respective input terminal 8 a-n will be equal to the impedance of the parallel combination of NMOS transistors 208 a-n coupled to the same input terminal 8 a-n.

As with the active termination circuits 100 of FIG. 2, the active termination circuit 200 of FIG. 4 can precisely control the impedance and bias voltage level at each input terminal 8 a-n using only a single pair of control circuits 210, 216 for all of the input terminals 8 a-n. Furthermore, as long as the reference voltages track changes in the supply voltage V.sub.CC, such as by being generated from the supply voltage V.sub.CC using a voltage divider, the input impedance at each input terminal 8 a-n will be insensitive to changes in the supply voltage V.sub.CC. Finally, since the PMOS transistors 204 a-n are identical to and fabricated in the same process as the PMOS transistors 220, and the NMOS transistors 208 a-n are identical to and fabricated in the same process as the NMOS transistors 226, the impedance at each input terminal 8 a-n are substantially insensitive to process variations.

FIG. 5 illustrates an example of a computer system 300 using the SDRAM 10 of FIG. 1 with active termination circuits coupled to at least some of its externally accessible input terminals according to one embodiment of the invention. the computer system includes a processor 302 for performing various computing functions, such as executing specific software to perform specific calculations or tasks. The processor 302 includes a processor bus 304 that normally includes the address bus 14, the data bus 58, and the control bus 70. In addition, the computer system 300 includes one or more input devices 314, such as a keyboard or a mouse, coupled to the processor 302 to allow an operator to interface with the computer system 300. Typically, the computer system 300 also includes one or more output devices 316 coupled to the processor 302, such output devices typically being a printer or a video terminal. One or more data storage devises 318 are also typically coupled to the processor 302 to allow the processor 302 to store data or retrieve data from internal or external storage media (not shown). Examples of typical storage devices 318 include hard and floppy disks, tape cassettes and compact disk read-only memories (CDROMs). The processor 302 is also typically coupled to cache memory 326, which is usually static random access memory (“SRAM”) and to the SDRAM 10 through a memory controller 330. The memory controller 330 normally includes the control bus 70 and the address bus 14 that is coupled to the SDRAM 10. The data bus 58 may be coupled to the processor bus 304 either directly (as shown), through the memory controller 330, or by some other means. Although the computer system 300 shown in FIG. 5 uses SDRAM memory devices, it will be understood that computer systems may alternatively use other types of memory devices having externally accessible input terminals that are coupled to an active termination circuit according to various embodiments of the invention. Also, the input terminals of the processor 302 may include active termination circuit according to various embodiments of the invention.

From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. For example, it may be possible to use a fixed impedance element, such as a resistor, having a relatively high impedance coupled to the power supply voltage in place of either the PMOS transistor(s) or coupled to ground in place of either the NMOS transistor(s). The impedance of the input terminal could then be controlled by the lower impedance NMOS or PMOS transistor(s). Accordingly, the invention is not limited except as by the appended claims. 

1. A memory device comprising: a plurality of externally-accessible input terminals; a memory array, at least a portion of the memory array coupled to receive command, address or data signals from the plurality of externally-accessible input terminals; a plurality of active termination circuits, each coupled to a respective one of the plurality of externally-accessible input terminals, the plurality of active termination circuits each comprising a respective control input receiving a first impedance control signal, each respective active termination circuit configured to establish an input impedance of the respective externally-accessible input terminal based, at least in part, on the first impedance control signal; and a control unit coupled to all of the plurality of active termination circuits, the control unit generating the first impedance control signal, the control unit comprising: a reference impedance element; and circuitry operable to select the first impedance control signal suitable to set the input impedance of the plurality of externally-accessible input terminals to a predetermined impedance value relative to the reference impedance element.
 2. The memory device of claim 1, each of the plurality of active termination circuits comprising a respective first transistor coupled between the respective externally-accessible input terminal and a reference voltage, the respective control inputs of the termination circuits comprising a gate of the respective first transistors.
 3. The memory device of claim 1 wherein each of the respective active termination circuits further comprise a second control terminal operable to receive a second impedance control signal and the input impedance of the respective externally-accessible terminals is determined based on the first and second impedance control signals, the control unit further comprising: circuitry operable to select the second impedance control signal suitable to set the input impedance of the plurality of externally-accessible input terminals to the predetermined impedance value.
 4. The memory device of claim 3 wherein each of the plurality of active termination circuits comprise: a respective first transistor coupled between the externally accessible terminal and a first reference voltage; a respective second transistor coupled between the externally accessible terminal and a second reference voltage; and wherein the first and second control terminals of each of the respective active termination circuits comprise a gate of the first transistor and a gate of the second transistor, respectively.
 5. The memory device of claim 1 wherein the circuitry operable to select the first impedance control signal comprises: a differential amplifier having a reference voltage input terminal, a feedback input terminal and an output terminal, the feedback input terminal coupled to the reference impedance element, and the output terminal coupled to a variable impedance element; the differential amplifier generating the first impedance control signal at the output terminal such that the first impedance control signal causes the variable impedance element to have a predetermined impedance value relative to the reference impedance.
 6. The memory device of claim 5 wherein each of the respective active termination circuits comprises a respective variable impedance element, the respective variable impedance elements receiving the first impedance control signal and having the predetermined impedance value responsive to the first impedance control signal.
 7. The memory device of claim 5 wherein the variable impedance element comprises a transistor and the reference impedance element comprises a resistor coupled to the transistor at an intermediate node, the first impedance control signal comprising a voltage applied to the gate of the transistor such the voltage at the intermediate node equals the reference voltage.
 8. A memory device comprising: a plurality of externally-accessible input terminals; a memory array, at least a portion of the memory array coupled to receive signals from the plurality of externally-accessible input terminals; a plurality of active termination circuits, each coupled to a respective one of the plurality of externally-accessible input terminals, the plurality of active termination circuits each comprising a first variable impedance element coupled between the respective externally-accessible input and a reference voltage, each of the first variable impedance elements further comprising a control terminal receiving a first impedance control signal operable to set the impedance value of the variable impedance element; and a control unit coupled to all of the plurality of active termination circuits, the control unit generating the first impedance control signal, the control unit comprising: a reference impedance element; and a test variable impedance element coupled to the reference impedance element; and circuitry receiving a reference voltage and developing an output signal suitable to set the input impedance of the test variable impedance element to a predetermined value relative to the reference impedance element; and circuitry receiving the output signal and developing the first impedance control signal based on a relationship between the test variable impedance element and the first variable impedance elements of the active termination circuit.
 9. The device of claim 8 wherein each of the plurality of first variable impedance elements receive the first impedance control signal developed based on the test variable impedance element.
 10. The device of claim 8 wherein the test variable impedance element and each of the first variable impedance elements comprise respective transistors. 